package com.product.system.config;

import cn.hutool.core.date.DateUtil;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class XxlTest {

    @XxlJob("catks")
    public ReturnT<String> cat(String name){
        System.out.println(DateUtil.now()+"------===========--------");

        return ReturnT.SUCCESS;
    }
}
